package com.neusoft.elmboot.service.impl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.neusoft.elmboot.mapper.UserMapper;
import com.neusoft.elmboot.po.User;
import com.neusoft.elmboot.service.UserService;
@Service
public class UserServiceImpl implements UserService{
@Autowired
private UserMapper userMapper;
@Override
public User getUserByIdByPass(User user) {
return userMapper.getUserByIdByPass(user);
}
@Override
public int getUserById(String userId) {
return userMapper.getUserById(userId);
}
@Override
public int saveUser(User user) {
return userMapper.saveUser(user);
}
}